package com.IT.pojo;
import lombok.*;
import org.apache.ibatis.type.Alias;

//实体类
@Data
public class Student {
   private int id;
   private String name;
   //学生需要关联一个老师
   private Teacher teacher;

   public Student() {
   }
}
